package com.agee.system.convert;

import com.agee.system.domain.SysUser;
import com.agee.system.domain.req.SysUserCreateReq;
import com.agee.system.domain.req.SysUserPageQueryReq;
import com.agee.system.domain.req.SysUserUpdateReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author qimingjin
 * @date 2022-09-22 10:55
 * @Description:
 */
@Mapper
public interface SysUserConvert {

    SysUserConvert INSTANCE = Mappers.getMapper(SysUserConvert.class);

    SysUser convert( SysUserCreateReq sysUserCreateReq);

    SysUser convert( SysUserUpdateReq sysUserUpdateReq);

    SysUser convert(SysUserPageQueryReq sysUserPageQueryReq);
}
